package com.zaki.mapper;

import com.zaki.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {

    public User selectByUserNameAndPassword(@Param("username") String username, @Param("password")String password);

    List<User> selectList();
}
